package com.kun.index.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 点赞表，用户和博客
 * </p>
 *
 * @author kunkun
 * @since 2024-03-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("like_user_blog")
@ApiModel(value="LikeUserBlog对象", description="点赞表，用户和博客")
public class LikeUserBlog implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "用户id")
    @TableId(value = "userId", type = IdType.ASSIGN_ID)
    private Integer userId;

    @ApiModelProperty(value = "博客id")
    private Integer blogId;


}
